package 代码记录.Bit48天集训;

import java.util.*;

/**编程题已搞定
 * 1.最难的问题
 * 2.因子个数
 * @author zx
 * @create 2022-05-28 18:24
 * 选择题第四题很有意思
 */
public class day_30 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
        String str2 = "VWXYZABCDEFGHIJKLMNOPQRSTU";
        Map<Character,Character> map = new HashMap<>();
        for(int i = 0;i < 26;i++){
            map.put(str1.charAt(i),str2.charAt(i));
        }
        while(sc.hasNext()){
            String mi = sc.nextLine();
            for(int i = 0;i < mi.length();i++){
                char c = mi.charAt(i);
                if(map.containsKey(c)){
                    System.out.print(map.get(c));
                }else{
                    System.out.print(c);
                }
            }
            System.out.println();
        }
    }

    /**
     * @param args 脑子笨
     */
    public static void main2(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()){
            int n = sc.nextInt();
            int count = 0;
            for(int i = 2;i < Math.sqrt(n);i++){
                if(n % i == 0){//是因子
                    while(n % i == 0){
                        n = n / i;
                    }
                    count++;
                }
            }
            if(n != 1){
                count++;
            }
            System.out.println(count);
        }
    }
}
